﻿using System;

class BonusScores
{
    static void Main()
    {
        Console.Write("Please enter a digit: ");
        string consoleInput = Console.ReadLine();
        int digit = 0;
        int.TryParse(consoleInput, out digit);
        switch(digit)
        {
            case 1:
            case 2:
            case 3:
                digit *= 10;
                Console.WriteLine(digit);
                break;
            case 4:
            case 5:
            case 6:
                digit *= 100;
                Console.WriteLine(digit);
                break;
            case 7:
            case 8:
            case 9:
                digit *= 1000;
                Console.WriteLine(digit);
                break;
            default: Console.WriteLine("Invalid digit!"); break;
        }
    }
}

